package com.mentaleye.dal.dao;

import java.util.Map;

import com.mentaleye.dal.model.PromptRead;

public interface PromptReadDao {
	/**
	 * 添加查看提醒
	 * @param promptRead
	 * @return
	 */
	public boolean insertPromptRead(PromptRead promptRead);
	/**
	 * 修改查看提醒
	 * @param promptRead
	 * @return
	 */
	public boolean updatePromptRead(PromptRead promptRead);
	/**
	 * 查询已读的提醒
	 * @param promptId
	 * @param promptPersonId
	 * @return
	 */
	public PromptRead selectPromptRead(Map<String, Object> map);
	/**
	 * 修改提醒读取状态已读
	 * @param map
	 * @return
	 */
	public boolean modifyPromptRead(Map<String, Object> map);
	/**
	 * 修改提醒读取状态未读
	 * @param map
	 * @return
	 */
	public boolean modifyPromptNoRead(Map<String, Object> map);
}
